package com.lhnstart.learn.bases.abstract_;

/**
 * 抽象类
 *
 * @author lhn
 * @date 2023/07/13 14:20
 * @since 1.0.0
 **/
public class Abstract01 {

}

abstract class Animal{

    private String name;

    public Animal(String name) {
        this.name = name;
    }

    public abstract void eat();

}